<?php 
      session_start();
    
      ?>
 <!DOCTYPE HTML SYSTEM>
<html>
<head>
<title>Recapitulation</title>
<style type="text/css">
table.table,td, th {
	border-width: 1px;
	border-spacing: 2px;
	border-style: outset;
	border-color: gray;
	border-collapse: separate;
	background-color: white;
}
</style>
</head>
<body>
<a href="index.php">1. krok</a>
<a href="form2.php">2. krok</a>
<a href="form3.php">3. krok</a>
<a href="out.php">4. krok</a>
</body>
</html>
<?php
    echo "<table class=\"table\">";
   	echo "<tr>";
		
			echo "<td>";
			echo "Jmeno";
			echo "</td>";
			echo "<td>";
			echo "Vyska" ;
			echo "</td>";
			echo "<td>";
      echo "Vaha" ;
			echo "</td>";
			echo "<td>";
			echo "BMI" ;
			echo "</td>";
			echo "</tr>";
      echo "<tr>";
		  echo "<td>";
			echo $_SESSION['name'];
			echo "</td>";
			echo "<td>";
			echo $_SESSION['height'];
			echo "</td>";
			echo "<td>";
      echo $_SESSION['weight'];
			echo "</td>";
			echo "<td>";
			echo $_SESSION['bmi'];
			echo "</td>";
			echo "</tr>";
      
echo"</table>"; 
?>